.class Lcom/burstly/lib/component/AdaptorListener$1;
.super Ljava/lang/Object;
.source "AdaptorListener.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/burstly/lib/component/AdaptorListener;-><init>(Lcom/burstly/lib/component/AdaptorController;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/component/AdaptorListener;

.field final synthetic val$aController:Ljava/lang/ref/Reference;

.field final synthetic val$controller:Lcom/burstly/lib/component/AdaptorController;


# direct methods
.method constructor <init>(Lcom/burstly/lib/component/AdaptorListener;Ljava/lang/ref/Reference;Lcom/burstly/lib/component/AdaptorController;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 98
    iput-object p1, p0, Lcom/burstly/lib/component/AdaptorListener$1;->this$0:Lcom/burstly/lib/component/AdaptorListener;

    iput-object p2, p0, Lcom/burstly/lib/component/AdaptorListener$1;->val$aController:Ljava/lang/ref/Reference;

    iput-object p3, p0, Lcom/burstly/lib/component/AdaptorListener$1;->val$controller:Lcom/burstly/lib/component/AdaptorController;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 102
    iget-object v1, p0, Lcom/burstly/lib/component/AdaptorListener$1;->val$aController:Ljava/lang/ref/Reference;

    invoke-virtual {v1}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/burstly/lib/component/AdaptorController;

    .line 103
    .local v0, comp:Lcom/burstly/lib/component/AdaptorController;
    if-eqz v0, :cond_0

    .line 104
    sget-object v1, Lcom/burstly/lib/component/AdaptorListener;->LOG:Lcom/burstly/lib/util/LoggerExt;

    iget-object v2, v0, Lcom/burstly/lib/component/AdaptorController;->mTag:Ljava/lang/String;

    const-string v3, "Adaptor request timed out!"

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 105
    invoke-virtual {v0}, Lcom/burstly/lib/component/AdaptorController;->getAdaptor()Lcom/burstly/lib/component/IBurstlyAdaptor;

    move-result-object v1

    invoke-interface {v1}, Lcom/burstly/lib/component/IBurstlyAdaptor;->stop()V

    .line 106
    iget-object v1, p0, Lcom/burstly/lib/component/AdaptorListener$1;->this$0:Lcom/burstly/lib/component/AdaptorListener;

    invoke-virtual {v0}, Lcom/burstly/lib/component/AdaptorController;->getNetworkName()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/burstly/lib/component/AdaptorListener$1;->val$controller:Lcom/burstly/lib/component/AdaptorController;

    iget-boolean v3, v3, Lcom/burstly/lib/component/AdaptorController;->mIsInterstitial:Z

    const-string v4, "Request timed out!"

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/component/AdaptorListener;->failedToLoad(Ljava/lang/String;ZLjava/lang/String;)V

    .line 108
    :cond_0
    iget-object v1, p0, Lcom/burstly/lib/component/AdaptorListener$1;->this$0:Lcom/burstly/lib/component/AdaptorListener;

    const/4 v2, 0x1

    #setter for: Lcom/burstly/lib/component/AdaptorListener;->mTimedOut:Z
    invoke-static {v1, v2}, Lcom/burstly/lib/component/AdaptorListener;->access$002(Lcom/burstly/lib/component/AdaptorListener;Z)Z

    .line 109
    return-void
.end method
